﻿using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using System.Threading.Tasks;

namespace HideAndSeek
{
    class RoomWithDoor:RoomWithHidingPlace ,IHasExteriorDoor
    {
        private string doorDescription;
        public RoomWithDoor(string name, string decoration, string doorDescription, string hidingPlace)
            : base(name, decoration,hidingPlace)
        {
            this.doorDescription = doorDescription;
        }
        public string DoorDescription { get { return doorDescription; } }
        public Location DoorLocation { get; set; }

        public override string Description
        {
            get
            {
                return base.Description + "You see " + DoorDescription + "\r\n";
            }
        }
    }
}
